package com.edu.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 麦翔盛
 * @description: 课程信息封装类包括了课程信息 和 课程描述 包括了两张表
 * @date 2021/10/21 21:13
 */
@Data
public class CourseQuery {

    @ApiModelProperty("课程id")
    private String id;
    /**
     * 用于查询
     */
    @ApiModelProperty(value = "课程讲师ID")
    private String teacherId;

    @ApiModelProperty(value = "课程专业ID")
    private String subjectId;
//
    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看")
    private BigDecimal price;

    @ApiModelProperty(value = "总课时")
    private Integer lessonNum;

    @ApiModelProperty(value = "课程封面图片路径")
    private String cover;
//
    @ApiModelProperty(value = "课程简介")
    private String description;
//
    @ApiModelProperty(value = "课程专业父级ID")
    private String subjectParentId;


}
